package cn.swpu.blog.dao;

import cn.swpu.blog.entity.UserInfo;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface UserInfoMapper {
    int deleteByPrimaryKey(String openid);

    int insert(UserInfo record);

    UserInfo selectByPrimaryKey(String openid);

    List<UserInfo> selectAll();

    int updateByPrimaryKey(UserInfo record);
}